# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'rasterdialog.ui'
#
# Created: Tue Mar 20 12:47:41 2007
#      by: PyQt4 UI code generator 4.1.1
#
# WARNING! All changes made in this file will be lost!

import sys
from PyQt4 import QtCore, QtGui

class Ui_RasterAlgebra(object):
    def setupUi(self, RasterAlgebra):
        RasterAlgebra.setObjectName("RasterAlgebra")
        RasterAlgebra.resize(QtCore.QSize(QtCore.QRect(0,0,549,408).size()).expandedTo(RasterAlgebra.minimumSizeHint()))

        self.label_5 = QtGui.QLabel(RasterAlgebra)
        self.label_5.setGeometry(QtCore.QRect(20,20,209,31))

        font = QtGui.QFont(self.label_5.font())
        font.setPointSize(14)
        font.setWeight(75)
        font.setBold(True)
        self.label_5.setFont(font)
        self.label_5.setFrameShape(QtGui.QFrame.Panel)
        self.label_5.setFrameShadow(QtGui.QFrame.Raised)
        self.label_5.setObjectName("label_5")

        self.groupBox_2 = QtGui.QGroupBox(RasterAlgebra)
        self.groupBox_2.setGeometry(QtCore.QRect(410,80,141,121))
        self.groupBox_2.setObjectName("groupBox_2")

        self.constant2 = QtGui.QLineEdit(self.groupBox_2)
        self.constant2.setGeometry(QtCore.QRect(40,70,91,29))
        self.constant2.setObjectName("constant2")

        self.layer2 = QtGui.QComboBox(self.groupBox_2)
        self.layer2.setGeometry(QtCore.QRect(40,30,91,26))
        self.layer2.setObjectName("layer2")

        self.useLayer2 = QtGui.QRadioButton(self.groupBox_2)
        self.useLayer2.setGeometry(QtCore.QRect(10,30,16,23))
        self.useLayer2.setObjectName("useLayer2")

        self.useConstant2 = QtGui.QRadioButton(self.groupBox_2)
        self.useConstant2.setGeometry(QtCore.QRect(10,70,16,23))
        self.useConstant2.setObjectName("useConstant2")

        self.groupBox = QtGui.QGroupBox(RasterAlgebra)
        self.groupBox.setGeometry(QtCore.QRect(90,80,141,121))
        self.groupBox.setObjectName("groupBox")

        self.constant1 = QtGui.QLineEdit(self.groupBox)
        self.constant1.setGeometry(QtCore.QRect(40,70,91,29))
        self.constant1.setObjectName("constant1")

        self.useLayer1 = QtGui.QRadioButton(self.groupBox)
        self.useLayer1.setGeometry(QtCore.QRect(10,30,16,23))
        self.useLayer1.setObjectName("useLayer1")

        self.useConstant1 = QtGui.QRadioButton(self.groupBox)
        self.useConstant1.setGeometry(QtCore.QRect(10,70,16,23))
        self.useConstant1.setObjectName("useConstant1")

        self.layer1 = QtGui.QComboBox(self.groupBox)
        self.layer1.setGeometry(QtCore.QRect(40,30,91,26))
        self.layer1.setObjectName("layer1")

        self.label_4 = QtGui.QLabel(RasterAlgebra)
        self.label_4.setGeometry(QtCore.QRect(250,110,21,17))
        self.label_4.setObjectName("label_4")

        self.label_2 = QtGui.QLabel(RasterAlgebra)
        self.label_2.setGeometry(QtCore.QRect(10,110,57,17))
        self.label_2.setObjectName("label_2")

        self.label_3 = QtGui.QLabel(RasterAlgebra)
        self.label_3.setGeometry(QtCore.QRect(330,110,57,17))
        self.label_3.setObjectName("label_3")

        self.op = QtGui.QComboBox(RasterAlgebra)
        self.op.setGeometry(QtCore.QRect(250,130,69,26))
        self.op.setObjectName("op")

        self.func1 = QtGui.QComboBox(RasterAlgebra)
        self.func1.setGeometry(QtCore.QRect(10,130,69,26))
        self.func1.setObjectName("func1")

        self.func2 = QtGui.QComboBox(RasterAlgebra)
        self.func2.setGeometry(QtCore.QRect(330,130,69,26))
        self.func2.setObjectName("func2")

        self.label = QtGui.QLabel(RasterAlgebra)
        self.label.setGeometry(QtCore.QRect(20,230,71,20))
        self.label.setObjectName("label")

        self.outFileName = QtGui.QLineEdit(RasterAlgebra)
        self.outFileName.setGeometry(QtCore.QRect(102,230,331,29))
        self.outFileName.setObjectName("outFileName")

        self.fileBrowse = QtGui.QPushButton(RasterAlgebra)
        self.fileBrowse.setGeometry(QtCore.QRect(450,230,80,27))
        self.fileBrowse.setObjectName("fileBrowse")

        self.createNewLayer = QtGui.QCheckBox(RasterAlgebra)
        self.createNewLayer.setGeometry(QtCore.QRect(410,270,131,23))
        self.createNewLayer.setObjectName("createNewLayer")

        self.buttonBox = QtGui.QDialogButtonBox(RasterAlgebra)
        self.buttonBox.setGeometry(QtCore.QRect(370,360,166,32))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")

        self.label_6 = QtGui.QLabel(RasterAlgebra)
        self.label_6.setGeometry(QtCore.QRect(10,310,71,20))
        self.label_6.setObjectName("label_6")

        self.expression = QtGui.QLabel(RasterAlgebra)
        self.expression.setGeometry(QtCore.QRect(100,310,421,31))
        self.expression.setFrameShape(QtGui.QFrame.Box)
        self.expression.setFrameShadow(QtGui.QFrame.Sunken)
        self.expression.setObjectName("expression")

        self.retranslateUi(RasterAlgebra)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),RasterAlgebra.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),RasterAlgebra.reject)
        QtCore.QMetaObject.connectSlotsByName(RasterAlgebra)

    def retranslateUi(self, RasterAlgebra):
        RasterAlgebra.setWindowTitle(QtGui.QApplication.translate("RasterAlgebra", "Simple Raster Algebra", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("RasterAlgebra", "QGis Map Algebra", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("RasterAlgebra", "Second operand", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("RasterAlgebra", "First Operand", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("RasterAlgebra", "Op", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("RasterAlgebra", "Func1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("RasterAlgebra", "Func2", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("RasterAlgebra", "Output file", None, QtGui.QApplication.UnicodeUTF8))
        self.fileBrowse.setText(QtGui.QApplication.translate("RasterAlgebra", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.createNewLayer.setText(QtGui.QApplication.translate("RasterAlgebra", "Create new layer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("RasterAlgebra", "Expression", None, QtGui.QApplication.UnicodeUTF8))

